package com.qili.entity.supplier;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author zhangxiaopeng
 * @date 2021/4/10
 * @description
 */
@Table(name = "recommend_reason")
@Data
@ToString
@EqualsAndHashCode
@Component
public class RecommendReason implements Serializable {

    @Id
    @Column(name = "id")
    private String id;
    //项目id
    @Column(name = "project_id")
    private String projectId;
    //应接表id
    @Column(name = "accept_id")
    private String acceptId;
    // 供方个人 001 供方组织002
    @Column(name = "com_type")
    private String comType;
    //公司id  供方个人存company 表Id 组织 存 应接人的Id
    @Column(name = "company_id")
    private String companyId;
    //学历
    @Column(name = "education")
    private String education;
    //角色为总监理工程师/咨询顾问项目个数
    @Column(name = "zz_projects")
    private String zzProjects;
    //角色为项目经理项目个数
    @Column(name = "jl_projects")
    private String jlProjects;
    //角色为助力/工程师项目个数
    @Column(name = "zg_projects")
    private String zgProjects;
    //擅闯领域角色为总监理工程师/咨询顾问项目个数
    @Column(name = "adept_zz_projects")
    private String adeptZzProjects;
    //擅长领域角色为项目经理项目个数
    @Column(name = "adept_j_projects")
    private String adeptJProjects;
    //擅长领域角色为助力/工程师项目个数
    @Column(name = "adept_zg_projects")
    private String adeptZgProjects;
    //角色为总监理工程师/咨询顾问项目最大投资额
    @Column(name = "zz_max_money")
    private String zzMaxMoney;
    //角色为项目经理项目最大投资额
    @Column(name = "jl_max_money")
    private String jlMaxMoney;
    //角色为助力/工程师项目最大投资额
    @Column(name = "zg_max_money")
    private String zgMaxMoney;
    //角色为总监理工程师/咨询顾问项目总投资额
    @Column(name = "zz_sum_money")
    private String zzSumMoney;
    //角色为项目经理项目总投资额
    @Column(name = "jl_sum_money")
    private String jlSumMoney;
    //角色为助力/工程师项目总投资额
    @Column(name = "zg_sum_money")
    private String zgSumMoney;
    //角色为总监理工程师/咨询顾问项目最大服务费
    @Column(name = "zz_max_charge")
    private String zzMaxCharge;
    //角色为项目经理项目最大服务费
    @Column(name = "jl_max_charge")
    private String jlMaxCharge;
    //角色为助力/工程师项目最大服务费
    @Column(name = "zg_max_charge")
    private String zgMaxCharge;
    //角色为总监理工程师/咨询顾问项目服务费总额
    @Column(name = "zz_sum_charge")
    private String zzSumCharge;
    //角色为项目经理项目服务费总额
    @Column(name = "jl_sum_charge")
    private String jlSumCharge;
    //角色为助力/工程师项目服务费总额
    @Column(name = "zg_sum_charge")
    private String zgSumCharge;
    //服务费用五十万及以上角色为总监理工程师/咨询顾问项目个数
    @Column(name = "zz_greater_charge")
    private String zzGreaterCharge;
    //服务费用五十万及以上角色为项目经理项目个数
    @Column(name = "jl_greater_charge")
    private String jlGreaterCharge;
    //服务费用五十万及以上角色为助理/工程师项目个数
    @Column(name = "zg_greater_charge")
    private String zgGreaterCharge;
    //投资额在10000万及以上角色为总监理工程师/咨询顾问项目个数
    @Column(name = "zz_greater_money")
    private String zzGreaterMoney;
    //投资额在10000万及以上角色为项目经理项目个数
    @Column(name = "jl_greater_money")
    private String jlGreaterMoney;
    //投资额在10000万及以上角色为助理/工程师项目个数
    @Column(name = "zg_greater_money")
    private String zgGreaterMoney;
    //岗位职级
    @Column(name = "job_grade")
    private String jobGrade;
    //证书名称
    @Column(name = "certificate_name")
    private String certificateName;
    //证书个数
    @Column(name = "certificate_number")
    private String certificateNumber;
    //证书级别
    @Column(name = "certificate_rank")
    private String certificateRank;
    //在平台已承接项目个数
    @Column(name = "platform_projects")
    private String platformProjects;
    //符合需求中擅长领域的项目个数
    @Column(name = "skilled_projects")
    private String skilledProjects;
    //单个项目最大投资额
    @Column(name = "max_money")
    private String maxMoney;
    //项目投资总额
    @Column(name = "sum_money")
    private String sumMoney;
    //单个项目最大服务费
    @Column(name = "max_charge")
    private String maxCharge;
    //服务费总额
    @Column(name = "sum_charge")
    private String sumCharge;
    //服务费在50w及以上的项目
    @Column(name = "greater_charge")
    private String greaterCharge;
    //投资额在10000w及以上的项目个数
    @Column(name = "greater_money")
    private String greaterMoney;
    //项目工期
    @Column(name = "project_duration")
    private String projectDuration;
    //是否续签
    @Column(name = "renew")
    private String renew;
    //回款及时性
    @Column(name = "ease_back")
    private String easeBack;
    //束后总结及时性
    @Column(name = "summarize")
    private String summarize;
    //服务质量
    @Column(name = "serve_quality")
    private String serveQuality;
    //技术能力
    @Column(name = "technical_capacity")
    private String technicalCapacity;
    //项目把控能力
    @Column(name = "project_handle")
    private String projectHandle;
    //沟通协调能力
    @Column(name = "coordinate_capacity")
    private String coordinateCapacity;
    //工作主动性和责任心
    @Column(name = "initiative")
    private String initiative;
    //应接顺序
    @Column(name = "accept_order")
    private String acceptOrder;
    //平台推荐顺序
    @Column(name = "recommend_order")
    private String recommendOrder;
    //创建日期
    @Column(name = "create_date")
    private String createDate;
    //对应分值
    @Column(name = "score")
    private String score;
    //总分
    @Column(name = "sum_score")
    private String sumScore;

    @Transient
    private String recommendName;

    //统计个数用
    @Transient
    private Integer projectNum;
    //最大投资额/最大服务额
    @Transient
    private String moneys;
    //投资总额/服务总额
    @Transient
    private String sumMoneys;
}
